home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2394 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.6 KB  |  57 lines

  1. Newsgroups: comp.lang.c++
  2. Path: ddvictor.dundee.ATTGIS.COM!news
  3. From: Don Stewart <don.stewart@Dundee.ATTGIS.COM>
  4. Subject: STL lists & queues
  5. X-Nntp-Posting-Host: 153.73.14.122
  6. Message-ID: <DLC0BL.3x5@ddvictor.dundee.ATTGIS.COM>
  7. Sender: news@ddvictor.dundee.ATTGIS.COM (Ref news)
  8. Reply-To: don.stewart@Dundee.ATTGIS.COM (DSTEWART)
  9. Organization: AT&T GIS
  10. X-Newsreader: DiscussIT 2.0.1.3 for MS Windows [AT&T Software Products Division]
  11. Date: Wed, 17 Jan 1996 15:28:33 GMT
  12.  
  13. Okay this is my first post here so I've got my flame proof suit on :-)
  14.  
  15. I'm using STL with MSVC V4.0 on NT & have a few questions :-
  16.  
  17. 1) Is it possible to make STL work with NT shared memory  ?
  18.  
  19.     i.e. create a list in shared memory 
  20.  
  21. given that you cannot rely on pointers between different processes.
  22.  
  23. 2) Is it possible to declare a list of list using something on the lines of
  24.  
  25.     list< list < vector < char * > > > ll;
  26.  
  27. or is it
  28.  
  29.     list< list < char * > > ll;
  30.     list< char * > l;
  31.  
  32.     l.push_back( "Hello World" );
  33.     ll.push_back( l );
  34.  
  35. I tried this and after struggling in the debugger for many hours finally gave
  36. up.
  37.  
  38. I don't want to use a queue or a stack as I don't want to pop 
  39. things to get at the next one.
  40.  
  41. Hope someone can help....
  42.  
  43. Regards.
  44.  
  45.  
  46. Don
  47. Don Stewart.
  48. AT&T GIS, Dundee, Scotland.
  49. ---------------------------------------------------------------------------
  50. These views are my own and not those of AT&T GIS.
  51. ---------------------------------------------------------------------------
  52. Oh no not again !
  53.  
  54. Quote by the bowl of petunias in Hitchhikers 
  55. Guide to the Galaxy.
  56. --------------------------------------------------------------------------
  57.